#include <gtk/gtk.h>

/**
 * 演示glib所有的数据类型
*/
gint32 main(void)
{
    gboolean a = TRUE;
    gpointer b = &a;
    gchar c = 'c';
    guchar d = 'd';
    gint e = 100;
    guint f = 16;
    gshort g = 10;
    glong h = 3242;
    gulong i = 32839;
    gfloat j = 23.3432;
    gdouble k = 3020.38439;
    gsize l;
    gssize m;
    g_print("%d\n%p\n%c\n%c", a, b, c, d);
    return 0;
}